﻿namespace LogManager.Gui.ViewModels.Processing
{
    using LogManager.Utils.ChangeTracking;

    public class SimpleStatsModel : DependPropertyChangeBase
    {
        public virtual int Failed { get; set; }
        public virtual int Succeded { get; set; }
        public virtual int Overall { get; set; }

        public void Reset()
        {
            this.Failed = 0;
            this.Succeded = 0;
            this.Overall = 0;
        }

        public override string ToString()
        {
            return
                "Total : " + Overall + "\n" +
                "Réussis : " + Succeded + "\n" +
                "Echoués : " + Failed + "\n";
        }
    }
}
